package com.Gehaltsrechner;
import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;

public class RemoveDialog extends Dialog 
{
	public boolean remove;
	
	public Button ja;
	public Button nein;
	public Button edit;

	public RemoveDialog(Context context, String name) 
  {
      super(context);
      remove = false;
      
      setContentView(R.layout.removedialog);
      setTitle("Dialog");
      
      //Dialog uebersetzen
      TextView remove = (TextView) findViewById(R.id.remove_text);
      remove.setText (Sprache.eintragLoeschen);
      
      ja = (Button) findViewById(R.id.Ja);
      nein = (Button) findViewById(R.id.Nein);
      edit = (Button) findViewById(R.id.editieren);
  }
  public void onCreate(Bundle savedInstanceState) 
  {
      super.onCreate(savedInstanceState);
  }
  public void closeDialog()
  {
  	RemoveDialog.this.dismiss();
  }
}

